"""wxcloudrun URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/3.2/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""

from django.urls import re_path
from . import views

urlpatterns = [
    re_path(r"^game(/)?$", views.GameView.as_view()),
    re_path(r"^gamelist(/)?$", views.NewGameView.as_view()),
    re_path(r"^game/detail(/)?$", views.GameDetailView.as_view()),
    re_path(r"^raffle(/)?$", views.RaffleView.as_view()),
    re_path(r"^p/raffle(/)?$", views.RaffleV2View.as_view()),
    re_path(r"^p/raffle/count(/)?$", views.RaffleV2CountView.as_view()),
    re_path(r"^wuxianshangargs(/)?$", views.WuxianshangArgsView.as_view()),
    re_path(r"^gamegood(/)?$", views.GameGoodView.as_view()),
    re_path(r"^gamegood/detail(/)?$", views.GameGoodDetailView.as_view()),
    re_path(r"^game/index(/)?$", views.WxsRaffleIndexView.as_view()),
    re_path(r"^game/format/raffle(/)?$", views.WxsRaffleFormat.as_view()),
    re_path(r"^game/baodi(/)?$", views.BaodiCp.as_view()),  # 获取当前保底值
    re_path(r"^game/tianjiang(/)?$", views.Tjnum.as_view()),  # 获取天降进度
    re_path(r"^recoder/tianjiang(/)?$", views.TianjiangRecoderView.as_view()),  # 天降抽奖记录
    re_path(r"^recoder/feiqiu(/)?$", views.FeiqiuRecoderView.as_view()),  # 非酋中奖记录
    re_path(
        r"^recoder/feiqiudetail(/)?$", views.FeiqiuRecoderDetailView.as_view()
    ),  # 非酋详情中奖记录
    re_path(r"^recoder/feiqiuuser(/)?$", views.FeiqiuUserView.as_view()),  # 非酋当前用户中奖记录
    re_path(r"^recoder/tianjiangdetail(/)?$", views.TianjiangDetailView.as_view()),
]
